package com.swg.springcloud.service;

import com.swg.springcloud.pojo.Payment;

/**
 * @description:
 * @author: swg
 * @create: 2021-12-11 15:07
 **/
public interface PaymentService {
    /**
     * 新增
     * @param payment
     * @return
     */
    int create(Payment payment);

    /**
     * 查询
     * @param id
     * @return
     */
    Payment getPaymentById(Long id);
}
